/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package im.messages;

import im.resources.ResourceStatus;
import java.io.Serializable;

/**
 *
 * @author Gnaskky
 */
public class ClusteringMsgPayload implements Serializable {

    Serializable payload;
    ResourceStatus status;

    public ClusteringMsgPayload(Serializable payload, ResourceStatus status) {
        this.payload = payload;
        this.status = status;
    }

    public Serializable getPayload() {
        return payload;
    }

    public void setPayload(Serializable payload) {
        this.payload = payload;
    }

    public ResourceStatus getStatus() {
        return status;
    }

    public void setStatus(ResourceStatus status) {
        this.status = status;
    }
}
